package esms.manager;
import org.apache.log4j.Logger;

import com.thoughtworks.selenium.DefaultSelenium;

public abstract class SeleniumManager {
	private static Logger log = Logger.getLogger("SeleniumManager");	

    public static DefaultSelenium createSeleniumClient(String browser,String url){        
        log.debug("Creating Selenium client for URL:"+url+",Browser:" + browser);
        
        DefaultSelenium selenium = new DefaultSelenium("localhost", 4444, browser, url);
        selenium.setSpeed("1000");
        
        return selenium;
    }
       
}
